export default function formatTime(time){
	let date = new Date(time)
	let year = date.getFullYear();
	let month = String(date.getMonth() + 1).padStart(2, '0'); // 补零  
	let day = String(date.getDate()).padStart(2, '0'); 
	let hour = String(date.getHours()).padStart(2, '0'); 
	let minute = String(date.getMinutes()).padStart(2, '0'); 
	return year+"-"+month+"-"+day+" "+hour+":"+minute;
}
